<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Calm Tasks - Settings</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
        .neumorphic {
            background: #f1f5f9;
            box-shadow: 
                20px 20px 60px #d1d9e6, 
                -20px -20px 60px #ffffff;
            border-radius: 20px;
            border: 1px solid rgba(255,255,255,0.2);
        }
        .neumorphic-inset {
            background: #f1f5f9;
            box-shadow: 
                inset 8px 8px 16px #d1d9e6, 
                inset -8px -8px 16px #ffffff;
            border-radius: 15px;
        }
        .status-bar {
            background: linear-gradient(90deg, #000 0%, #333 100%);
            height: 44px;
        }
        .tab-bar {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }
        .toggle-switch {
            width: 52px;
            height: 30px;
            background: #e2e8f0;
            border-radius: 15px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: inset 2px 2px 4px #d1d9e6, inset -2px -2px 4px #ffffff;
        }
        .toggle-switch.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            box-shadow: inset 2px 2px 4px rgba(102, 126, 234, 0.3), inset -2px -2px 4px rgba(118, 75, 162, 0.3);
        }
        .toggle-switch::after {
            content: '';
            width: 26px;
            height: 26px;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 50%;
            position: absolute;
            top: 2px;
            left: 2px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }
        .toggle-switch.active::after {
            transform: translateX(22px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }
        .setting-item {
            transition: all 0.2s ease;
        }
        .setting-item:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
    </style>
</head>
<body class="h-screen overflow-hidden">
    <!-- iOS Status Bar -->
    <div class="status-bar flex justify-between items-center px-6 text-white text-sm font-medium">
        <div class="flex items-center space-x-1">
            <span>9:41</span>
        </div>
        <div class="flex items-center space-x-1">
            <i class="fas fa-signal text-xs"></i>
            <i class="fas fa-wifi text-xs"></i>
            <i class="fas fa-battery-three-quarters text-xs"></i>
        </div>
    </div>

    <!-- Main Content -->
    <div class="flex-1 p-6 pb-24 overflow-y-auto" style="height: calc(100vh - 44px - 83px);">
        <!-- Header -->
        <div class="flex items-center mb-8">
            <h1 class="text-2xl font-bold text-gray-800">Settings</h1>
        </div>

        <!-- Profile Section -->
        <div class="neumorphic p-6 mb-6">
            <div class="flex items-center space-x-4 mb-4">
                <div class="w-18 h-18 neumorphic-inset rounded-full flex items-center justify-center p-1">
                    <img src="https://images.unsplash.com/photo-1494790108755-2616b612b786?w=70&h=70&fit=crop&crop=face&auto=format" 
                         alt="Profile" class="w-16 h-16 rounded-full object-cover">
                </div>
                <div class="flex-1">
                    <h3 class="text-xl font-semibold text-gray-800">Sarah Johnson</h3>
                    <p class="text-sm text-gray-500 mt-1">Member since March 2024</p>
                    <div class="flex items-center mt-2">
                        <div class="w-2 h-2 bg-green-500 rounded-full mr-2"></div>
                        <span class="text-xs text-green-600 font-medium">7-day streak</span>
                    </div>
                </div>
                <button class="neumorphic-inset w-12 h-12 flex items-center justify-center hover:shadow-lg transition-all">
                    <i class="fas fa-edit text-gray-600 text-sm"></i>
                </button>
            </div>
        </div>

        <!-- Notifications -->
        <div class="neumorphic p-6 mb-6">
            <h3 class="text-lg font-semibold text-gray-800 mb-6">Notifications</h3>
            <div class="space-y-5">
                <div class="flex items-center justify-between">
                    <div>
                        <p class="font-medium text-gray-800">Task Reminders</p>
                        <p class="text-sm text-gray-500 mt-1">Get gentle reminders for your tasks</p>
                    </div>
                    <div class="toggle-switch active"></div>
                </div>
                
                <div class="flex items-center justify-between">
                    <div>
                        <p class="font-medium text-gray-800">Mood Check-ins</p>
                        <p class="text-sm text-gray-500 mt-1">Daily mood tracking reminders</p>
                    </div>
                    <div class="toggle-switch active"></div>
                </div>
                
                <div class="flex items-center justify-between">
                    <div>
                        <p class="font-medium text-gray-800">Breathing Exercises</p>
                        <p class="text-sm text-gray-500 mt-1">Reminders for calming exercises</p>
                    </div>
                    <div class="toggle-switch"></div>
                </div>

                <div class="flex items-center justify-between">
                    <div>
                        <p class="font-medium text-gray-800">Achievement Celebrations</p>
                        <p class="text-sm text-gray-500 mt-1">Get notified of your progress</p>
                    </div>
                    <div class="toggle-switch active"></div>
                </div>
            </div>
        </div>

        <!-- Anxiety Support Tools -->
        <div class="neumorphic p-6 mb-6">
            <h3 class="text-lg font-semibold text-gray-800 mb-6">Anxiety Support Tools</h3>
            <div class="space-y-3">
                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-blue-400 to-blue-600 rounded-full flex items-center justify-center">
                            <i class="fas fa-wind text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Breathing Techniques</p>
                            <p class="text-sm text-gray-500">4-7-8 breathing, box breathing</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                
                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-green-400 to-green-600 rounded-full flex items-center justify-center">
                            <i class="fas fa-leaf text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Grounding Exercises</p>
                            <p class="text-sm text-gray-500">5-4-3-2-1 technique and more</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                
                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-purple-400 to-purple-600 rounded-full flex items-center justify-center">
                            <i class="fas fa-brain text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Coping Strategies</p>
                            <p class="text-sm text-gray-500">Personalized anxiety management</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>

                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-pink-400 to-pink-600 rounded-full flex items-center justify-center">
                            <i class="fas fa-heart text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Emergency Calm Kit</p>
                            <p class="text-sm text-gray-500">Quick access to calming tools</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
            </div>
        </div>

        <!-- App Preferences -->
        <div class="neumorphic p-6 mb-6">
            <h3 class="text-lg font-semibold text-gray-800 mb-6">App Preferences</h3>
            <div class="space-y-3">
                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-yellow-400 to-orange-500 rounded-full flex items-center justify-center">
                            <i class="fas fa-palette text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Theme & Appearance</p>
                            <p class="text-sm text-gray-500">Neumorphism Light</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                
                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-indigo-400 to-indigo-600 rounded-full flex items-center justify-center">
                            <i class="fas fa-language text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Language</p>
                            <p class="text-sm text-gray-500">English (US)</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                
                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-red-400 to-red-600 rounded-full flex items-center justify-center">
                            <i class="fas fa-shield-alt text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Privacy & Security</p>
                            <p class="text-sm text-gray-500">Data and security settings</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                
                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-gray-400 to-gray-600 rounded-full flex items-center justify-center">
                            <i class="fas fa-download text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Export Data</p>
                            <p class="text-sm text-gray-500">Download your progress & insights</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
            </div>
        </div>

        <!-- Support & Help -->
        <div class="neumorphic p-6 mb-6">
            <h3 class="text-lg font-semibold text-gray-800 mb-6">Support & Help</h3>
            <div class="space-y-3">
                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-blue-400 to-cyan-500 rounded-full flex items-center justify-center">
                            <i class="fas fa-question-circle text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Help & FAQ</p>
                            <p class="text-sm text-gray-500">Common questions and guides</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                
                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-green-400 to-teal-500 rounded-full flex items-center justify-center">
                            <i class="fas fa-envelope text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Contact Support</p>
                            <p class="text-sm text-gray-500">Get help from our team</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                
                <div class="setting-item neumorphic-inset p-4 flex items-center justify-between cursor-pointer">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gradient-to-br from-purple-400 to-pink-500 rounded-full flex items-center justify-center">
                            <i class="fas fa-users text-white"></i>
                        </div>
                        <div>
                            <p class="font-medium text-gray-800">Community</p>
                            <p class="text-sm text-gray-500">Connect with others (optional)</p>
                        </div>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
            </div>
        </div>

        <!-- App Info -->
        <div class="neumorphic p-6 text-center">
            <div class="mb-4">
                <div class="w-16 h-16 bg-gradient-to-br from-blue-500 to-purple-600 rounded-full flex items-center justify-center mx-auto mb-3">
                    <i class="fas fa-heart text-white text-xl"></i>
                </div>
                <h4 class="font-semibold text-gray-800">Calm Tasks</h4>
                <p class="text-sm text-gray-500 mt-1">Version 1.2.0</p>
            </div>
            <p class="text-xs text-gray-500 mb-4">Made with ❤️ for people managing social anxiety</p>
            <div class="flex justify-center space-x-6 text-xs text-gray-400">
                <span>Privacy Policy</span>
                <span>Terms of Service</span>
                <span>About</span>
            </div>
        </div>
    </div>

    <!-- Tab Bar -->
    <div class="tab-bar fixed bottom-0 left-0 right-0 h-20 flex items-center justify-around px-6">
        <div class="flex flex-col items-center space-y-1">
            <i class="fas fa-home text-gray-400 text-lg"></i>
            <span class="text-xs text-gray-400">Home</span>
        </div>
        <div class="flex flex-col items-center space-y-1">
            <i class="fas fa-tasks text-gray-400 text-lg"></i>
            <span class="text-xs text-gray-400">Tasks</span>
        </div>
        <div class="flex flex-col items-center space-y-1">
            <i class="fas fa-smile text-gray-400 text-lg"></i>
            <span class="text-xs text-gray-400">Mood</span>
        </div>
        <div class="flex flex-col items-center space-y-1">
            <i class="fas fa-chart-line text-gray-400 text-lg"></i>
            <span class="text-xs text-gray-400">Progress</span>
        </div>
        <div class="flex flex-col items-center space-y-1">
            <i class="fas fa-cog text-blue-600 text-lg"></i>
            <span class="text-xs text-blue-600 font-medium">Settings</span>
        </div>
    </div>
</body>
</html>